#!/usr/local/python/bin/python
# coding=utf-8
__author__ = 'Junjie.M'


class DbConnInfo():
    _data = []

    def setData(self, data):
        global _data
        #print(data)
        _data = data

    # jdbc url
    def getUrl(self):
        return _data['url']

    # user name
    def getDbUser(self):
        return _data['dbUser']

    # password
    def getDbPasswd(self):
        return _data['dbPassword']

    # db type
    def getDbType(self):
        return _data['dbType']

    # schema
    def getSchema(self):
        return _data['schema']
